﻿using System;

namespace IMaverick.Physics.Extensions
{
    public static partial class DoubleExtensions
    {
        public static PhysicalValue<Weight> g(this Double operand)
        {
            return new PhysicalValue<Weight>(operand, Weight.Gram);
        }
        public static PhysicalValue<Weight> kg(this Double operand)
        {
            return new PhysicalValue<Weight>(operand, Weight.Kilogram);
        }
        public static PhysicalValue<Weight> t(this Double operand)
        {
            return new PhysicalValue<Weight>(operand, Weight.Ton);
        }
        public static PhysicalValue<Weight> mg(this Double operand)
        {
            return new PhysicalValue<Weight>(operand, Weight.Milligram);
        }
        public static PhysicalValue<Weight> µg(this Double operand)
        {
            return new PhysicalValue<Weight>(operand, Weight.Microgram);
        }
    }
}
